<?php defined("MAIN_DIR") or die("No direct access");

switch ($route->getPath(4)) {
	
	case "":		require_once ACREDITS."home".DS."list.php"; break;
	case "add":		require_once ACREDITS."home".DS."add.php"; break;
	case "edit":	require_once ACREDITS."home".DS."edit.php"; break;
	case "delete":	require_once ACREDITS."home".DS."delete.php"; break;
	
	default: to("/admin/credits/home/");
}

?>